-
Home
-
MotoPress Hotel Booking
-
5.2.4 (latest)
-
Code
-
Classes
- Booking
| Total Complexity |
93 |
| Dependencies |
7 |
| Dependents |
26 |
| Total lines |
769 |
| Lines of code |
303 |
| Logical lines of code |
141 |
| Comment lines |
329 |
| Methods |
51 |
| Properties |
19 |
Methods 51
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| setupParameters() |
B |
41 |
21 |
54 |
| addLog() |
S |
51 |
7 |
24 |
| calcDepositAmount() |
S |
55 |
6 |
19 |
| getLastPriceBreakdown() |
S |
61 |
5 |
12 |
| calcPrice() |
S |
68 |
3 |
7 |
| getDates() |
S |
65 |
3 |
9 |
| getExpectPaymentId() |
S |
67 |
2 |
8 |
| applyCoupon() |
S |
66 |
2 |
9 |
| getCouponCode() |
S |
75 |
2 |
4 |
| getLogs() |
S |
64 |
1 |
11 |
| getReservedRoomTypeIds() |
S |
65 |
1 |
11 |
| __construct() |
S |
81 |
1 |
3 |
| create() |
S |
80 |
1 |
3 |
| setStatus() |
S |
81 |
1 |
3 |
| generateKey() |
S |
71 |
1 |
5 |
| setDates() |
S |
77 |
1 |
4 |
| getDateTime() |
S |
82 |
1 |
3 |
| setRooms() |
S |
81 |
1 |
3 |
| updateTotal() |
S |
80 |
1 |
3 |
| getPriceBreakdown() |
S |
76 |
1 |
4 |
| getId() |
S |
82 |
1 |
3 |
| setId() |
S |
81 |
1 |
3 |
| getKey() |
S |
79 |
1 |
3 |
| getCheckInDate() |
S |
82 |
1 |
3 |
| getCheckOutDate() |
S |
82 |
1 |
3 |
| getNightsCount() |
S |
79 |
1 |
3 |
| getReservedRooms() |
S |
82 |
1 |
3 |
| getReservedRoomIds() |
S |
69 |
1 |
8 |
| getRoomIds() |
S |
69 |
1 |
8 |
| setCustomer() |
S |
81 |
1 |
3 |
| getCustomer() |
S |
82 |
1 |
3 |
| getNote() |
S |
82 |
1 |
3 |
| setNote() |
S |
81 |
1 |
3 |
| getTotalPrice() |
S |
82 |
1 |
3 |
| getStatus() |
S |
82 |
1 |
3 |
| updateExpiration() |
S |
78 |
1 |
3 |
| retrieveExpiration() |
S |
77 |
1 |
3 |
| deleteExpiration() |
S |
78 |
1 |
3 |
| getICalProdid() |
S |
82 |
1 |
3 |
| getICalSummary() |
S |
82 |
1 |
3 |
| getICalDescription() |
S |
82 |
1 |
3 |
| getLanguage() |
S |
82 |
1 |
3 |
| isExpectPayment() |
S |
74 |
1 |
4 |
| setExpectPayment() |
S |
79 |
1 |
3 |
| getCouponId() |
S |
82 |
1 |
3 |
| getCheckoutId() |
S |
82 |
1 |
3 |
| getSyncId() |
S |
82 |
1 |
3 |
| getSyncQueueId() |
S |
82 |
1 |
3 |
| getInternalNotes() |
S |
82 |
1 |
3 |
| isImported() |
S |
80 |
1 |
3 |
| isPending() |
S |
79 |
1 |
3 |